package it.polimi.TravelDream.ejb.dtos;

import org.hibernate.validator.constraints.NotEmpty;

public class HotelDTO {
	
	private int hotelID;
	public int getHotelID() {
		return hotelID;
	}
	public void setHotelID(int hotelID) {
		this.hotelID = hotelID;
	}
	@NotEmpty
	private String name;
	private int stars;
	private AddressDTO addressDTO;//mi serve solamente nella ricerca
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public int getStars() {
		return stars;
	}
	public void setStars(int stars) {
		this.stars = stars;
	}
	public AddressDTO getAddressDTO() {
		return addressDTO;
	}
	public void setAddressDTO(AddressDTO addressDTO) {
		this.addressDTO = addressDTO;
	}

}
